<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="/common/meta.jsp"%>
	</head>
	<body id="master">

		<sfa:mainHeader></sfa:mainHeader>
		<div class='navsite'>
		<p> 您的位置：首页&nbsp;&gt;&gt;&nbsp;更多新闻</p>
		</div>
		<!--右边-->
		<div class="webpart3 contentarea" style="width: 986px;">

			<div class="webpart-main">
				<div class="webpart-main-item" style="padding-top: 12px;">
					<div class="search">
						<form method="get">
							<table cellpadding="0" cellspacing="0" width="99%">
								<tr align="center">
									<td style="display: none;">
										<input type="text" name="type" id="type" class="input-txt"
											value="${type}">
									</td>
									<td>
										公告标题:
									</td>
									<td>
										<input type="text" name="newsTitle" id="newsTitle"
											class="input-txt" value="${newsTitle}" style="width: 126px;">
									</td>
									 
									<td>
										开始日期：
									</td>
									<td>
										<input id="beginCreateDate" name="beginCreateDate" type="text"
											onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
											class="Wdate input-txt" readOnly="true"
											value="${beginCreateDate}" />
									</td>
									<td>
										结束日期:
									</td>
									<td>
										<input id="endCreateDate" name="endCreateDate" type="text"
											onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
											class="Wdate input-txt" readOnly="true"
											value="${endCreateDate}" />
									</td>
								</tr>
								<tr>
									<td colspan="8" align="center">

										<input type="submit" class="linkbtn2" value="查询" />
										&nbsp;&nbsp;
										<input type="button" class="linkbtn2" value="清空"
											onclick="location.href='${path}/news/index/more?type=${type}';" />
									</td>
								</tr>
							</table>
						</form>
					</div>

					<table cellpadding="0" cellspacing="0"
						class="dg_borderstyle trStyleTable"
						style="margin-top: 15px; line-height: 23px;" id="mytable">
						<tbody>
								<tr>
								<th>标题</th>
								<th>时间</th>
								</tr>
							<c:forEach items="${pagination.resultList}" var="new">
							
								<tr class="gray datarow">
									<td>
										<span><a
											href="${path}/news/index/view/${new.saleNewsId}">${new.newsTitle
												}</a>
										</span>
									</td>
									<td style="width: 80px;">
										<span><fmt:formatDate value="${new.createDate }"
												pattern="yyyy/MM/dd" />
										</span>
									</td>

								</tr>
							</c:forEach>
					</table>
					<!----------- 翻页导航 ------------------>
					<div class="dg_pagerstyle">
						<div class="pageinfo">
							第${pagination.page }页 | 共${pagination.totalPages
							}页/${pagination.totalRows }条记录
						</div>
						<div class="pagebtn">
							${pagination.multiPage}&nbsp;
						</div>
					</div>
				</div>
			</div>

			<div class="webpart-foot">
				<div class="webpart-foot-item">
				</div>
			</div>
		</div>


		<sfa:mainFooter></sfa:mainFooter>

	</body>
</html>


